﻿using System;

namespace IOPvsOOP.Status.NOIF
{
    public class ConvertNumberStatusNOIF
    {
        public static void Parse(string number, Action<int> action)
        {
            int age;
            if (int.TryParse(number, out age))
                action(age);
        }
    }
}